package com.anyikang.volunteer.sos.volunteer.app;

/**
 * 常量类
 *
 * @author xw.gao
 * @version 2017/5/22
 * @git http://60.205.139.138:81/root/GSMServerAPP.git
 */

public class MyConstant {


    public static final String receive_sos_location_action = "receive.sos.location.action";
    public static final String report_volunteer_location_action = "report_volunteer_location_action";

   /*
     * 服务器地址  http://192.168.1.151:8080/volunteer/login
     * */


    public final static String SERVER_ADDRESS = "http://60.205.4.247:9005";

     //public final static String SERVER_ADDRESS = "http://192.168.1.108:8080";
     public final static String IMAGE_ADDRESS = SERVER_ADDRESS+"/web/file/downloadFile/";
    /**
     * 登录
     */
    public final static String API_LOGIN = SERVER_ADDRESS + "/app/volunteer/login";



    public final static String API_RECEIVE_ORDER = SERVER_ADDRESS + "/app/volunteer/task/receive";  //接单功能

    public final static String API_GET_SOS_LOCATION = SERVER_ADDRESS + "/app/volunteer/task/findAlarm";  //获取求救人位置

    public final static String API_POST_MY_LOCATION = SERVER_ADDRESS + "/app/volunteer/report/location";  //上传自己的位置

    /**
     * SOS人信息
     */
    public final static String API_SOS_PERSON_INFO = SERVER_ADDRESS + "/app/volunteer/task/findDetail";

    //获取呼救列表
    public final static String API_SOS_LIST = SERVER_ADDRESS + "/app/volunteer/task/sosList";  //根据type参数请求全部呼救记录，1需要救助，2救助中记录，3已完成记录


    //我的救援记录
    public final static String API_MY_SOS_LIST = SERVER_ADDRESS + "/app/volunteer/task/mySosList";  //我的救援记录，是我接过的单子，与API_SOS_LIST不同

    public final static String API_WRITE_REPORT_TEXT_INIT = SERVER_ADDRESS + "/app/volunteer/report/init";  //我的救援记录，是我接过的单子，与API_SOS_LIST不同
    public final static String API_WRITE_REPORT_TEXT = SERVER_ADDRESS + "/app/volunteer/report/text";  //我的救援记录，是我接过的单子，与API_SOS_LIST不同

    /**
     * 退出登录
     */
    public final static String API_LOGIN_OUT = SERVER_ADDRESS + "/app/volunteer/logout";


    //确认完成
    public final static String API_SURE_COMPLETE = SERVER_ADDRESS + "/app/volunteer/task/complete";


    //救援详情
    public final static String API_RESCUE_DETAIL = SERVER_ADDRESS + "/app/volunteer/task/sosDetail";


    //查询任务单状态
    public final static String API_GET_TASK_STATE = SERVER_ADDRESS + "/app/volunteer/task/findStatus";




    /**
     * 修改密码
     */

    public final static String API_MODIFY_PWD = SERVER_ADDRESS + "/app/volunteer/modifypwd";
    public final static String API_SPOT_IMAGE = SERVER_ADDRESS + "/app/volunteer/report/image";
    public final static String API_SPOT_VIDEO = SERVER_ADDRESS + "/app/volunteer/report/video";





    public final static int GROUP_LIST_POPUP_CODE = 1;

    //文 件
  //gxw-  public static final String SDCARD_USER_AVATAR_FILE = SDCardUtils.getSDCardPath() + File.separator + "userAvatar" + File.separator;

//    public static final String DATA_USER_AVATAR_FILE = SDCardUtils.getRootDirectoryPath() + File.separator + "userAvatar" + File.separator;

    public static final String USER_TEMP_PIC = "userTemp.jpg";

    public static final String USER_PIC = "user.jpg";

    //裁剪图片
    public static final String IMAGE_CACHE_DIRECTORY = "images";
}
